package com.wangyg.flourfactory.service;

import com.wangyg.flourfactory.model.FlourFactory;

/**
 * Created by wangyg6 on 2019/5/15 15:10.
 */
public interface IFlourFactorySMO {
	/**
	 * 新建面粉厂，场址，电话等信息必不可少
	 * @param flourFactory
	 * @return
	 */
	FlourFactory createFlourFactory(FlourFactory flourFactory);

	/**
	 * 通过面粉厂id,获取购买到面粉数量，返回个随机数
	 * @param FactId
	 * @return
	 */
	Integer getFlourCount(Integer FactId);
}
